GtkIconTheme: Add more debug spew
authorMatthias Clasen <mclasen@redhat.com>
Sat, 24 May 2014 15:01:27 +0000 (11:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 24 May 2014 22:20:31 +0000 (18:20 -0400)
Still trying to track down test problems in gnome-continuous.

gtk/gtkicontheme.c

index a1687df8147e75444614a4545a2f1c167268187d..91143fd00d622cdade896fb5761f591f6982967b 100644 (file)
@@ -1354,6 +1354,17 @@ load_themes (GtkIconTheme *icon_theme)
   
   g_get_current_time(&tv);
   priv->last_stat_time = tv.tv_sec;
+
+  GTK_NOTE (ICONTHEME, {
+    GList *l;
+    g_print ("Current icon themes ");
+    for (l = icon_theme->priv->themes; l; l = l->next)
+      {
+        IconTheme *theme = l->data;
+        g_print ("%s ", theme->name);
+      }
+    g_print ("\n");
+  });
 }
 
 void